<p><h3>Carpeta de Outbox</h3></p>
<hr/>

<div class="well list-toolbar">
  <div class="span2">
    <div class="btn-group">
      <a class="btn" data-toggle="dropdown"><i class="icon white user"></i>Opciones</a>
      <a class="btn dropdown-toggle" data-toggle="dropdown">
	<span class="caret"></span>
      </a>
      <ul class="dropdown-menu">
	<li><a name="check-all">Todo</a></li>
	<li><a name="uncheck-all">Nada</a></li>
      </ul>
    </div>
  </div>
  {{#if _selections}}
  <div class="span8">
    <a name="delete" class="btn btn-danger"><i class="icon-trash icon-white"></i>Borrar</a>
    <a name="unread" class="btn"><i class="icon-trash icon-white"></i>Marcar como no leido</a>
    <a name="read" class="btn"><i class="icon-trash icon-white"></i>Marcar como leido</a>
    
  </div>
  {{/if}}
</div>

{{#if pagination.models}}
<table class="table table-striped table-bordered table-condensed">
  <thead>
    <tr>
      <th></th>
      <th>Enviado a</th>
      <th>Resumen</th>
      <th>Enviado</th>
    </tr>
  </thead>
  <tbody class="list"></tbody>
</table>

<div class="pagination">
  <ul>
    <li class="prev {{#unless pagination.prev}}disabled{{/unless}}"><a {{#if pagination.prev}}class=page{{/if}} data-id="{{pagination.prev}}">&larr; {{$ "common.pagination.prev"}}</a></li>
    {{#each pagination.pages}}
    <li class="{{class_if "active" this ../pagination.page}}"><a class="page" data-id="{{this}}">{{this}}</a></li>
    {{/each}}
    <li class="next {{#unless pagination.next}}disabled{{/unless}}"><a {{#if pagination.next}}class=page{{/if}} data-id="{{pagination.next}}">&rarr; {{$ "common.pagination.next"}}</a></li>
  </ul>
</div>
{{/if}}
{{#unless pagination.models}}
   {{$ "inbox.empty"}}
{{/unless}}
<div class="well form-actions">
  <button name="back" class="btn" type="reset">{{$ "common.button.back"}}</button>
</div>
